﻿using Digitalmes.Domain.Enums;

namespace Digitalmes.Scada.Services;

/// <summary>
/// 设备运行状态服务。
/// </summary>
public interface IEquipmentStateService
{
    /// <summary>
    /// 更改设备运行状态。
    /// </summary>
    /// <param name="line">产线编号</param>
    /// <param name="equipCode">设备编号</param>
    /// <param name="runningState">运行状态</param>
    /// <returns></returns>
    Task ChangeStateAsync(string lineCode, string equipCode, EquipRunningState runningState);
}
